package com.example.demo.Entity.UserInfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serial;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author Wu
 * @since 2025-04-04 04:47:05
 */
@Data
@AllArgsConstructor
@RequiredArgsConstructor
public class Userinfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "user_info_id", type = IdType.AUTO)
    private Integer userInfoId;

    private String nickname;

    private String sex;

    private String email;

    private String phone;

    private String avatar;

    private Integer userId;
}
